/**
 * Copyright:  Copyright (c) 2013
 *
 * @FileName		: CapitalProfitServiceImpl.java
 * @PageName		: 자금수지- 당월
 * @Date			: 오후 3:15:26
 * @LastModifier	: 최경민
 * @LastModifyDate	: 
 * @LastModifier	: 
 * Change history	:
 */
package com.pulp.management.service.impl;

import java.sql.SQLException;
import java.util.List;

import com.pulp.management.dao.CapitalProfitDAO;
import com.pulp.management.model.CapitalProfitInfo;
import com.pulp.management.service.CapitalProfitService;

/**
 * @author 최경민
 * 
 */
public class CapitalProfitServiceImpl implements CapitalProfitService {
	@SuppressWarnings("unused")
	private static final long serialVersionUID = -3441872534488063890L;
	private CapitalProfitDAO capitalProfitDAO;

	public CapitalProfitServiceImpl() {
		System.out.println("CapitalProfitServiceImpl=============");
	}

	/**
	 * CapitalProfitDAO 객체를 반환한다.
	 * 
	 * @return the capitalProfitDAO
	 */
	public CapitalProfitDAO getCapitalProfitDAO() {
		return capitalProfitDAO;
	}

	/**
	 * CapitalProfitDAO 객체를 설정한다.
	 * 
	 * @param capitalProfitDAO the capitalProfitDAO to set
	 */
	public void setCapitalProfitDAO(CapitalProfitDAO capitalProfitDAO) {
		this.capitalProfitDAO = capitalProfitDAO;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.pulp.management.service.CapitalProfitService#getCombinationChartList
	 * ()
	 */
	@Override
	public List<CapitalProfitInfo> getCombinationChartList() throws SQLException {
		return capitalProfitDAO.getCombinationChartList();
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.management.service.CapitalProfitService#getTableList()
	 */
	@Override
	public List<CapitalProfitInfo> getTableList() throws SQLException {
		return capitalProfitDAO.getTableList();
	}

}
